class MessageCountEntity {
  int all;
  int system;
  int recharge;
  int online;

  MessageCountEntity({this.all, this.system, this.recharge, this.online});

  MessageCountEntity.fromJson(Map<String, dynamic> json) {
    all = json['all'];
    system = json['system'];
    recharge = json['recharge'];
    online = json['online'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['all'] = this.all;
    data['system'] = this.system;
    data['recharge'] = this.recharge;
    data['online'] = this.online;
    return data;
  }
}